package com.pureut.production.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.production.domain.GroupManagement;
import com.pureut.production.domain.dto.GroupManagementDto;
import com.pureut.production.domain.dto.WorkshopInfoDto;
import com.pureut.production.domain.vo.GroupManagementVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: CM
 * @date: 2023/2/7  16:11
 */
@Mapper
public interface GroupManagementMapper extends BaseMapper<GroupManagement> {

    /**
     * 班组管理列表查询
     * @param groupManagementVo
     */
    List<GroupManagementDto> getGroupList(GroupManagementVo groupManagementVo);

    /**
     * 水刺看板-车间信息
     * @param lineCode
     * @return
     */
    WorkshopInfoDto getWorkshopInfo(@Param("lineCode") String lineCode,@Param("groupId") Long groupId);

    /**
     * 查询班组成员信息
     * @return
     */
    List<GroupManagement> selectGroupManagement();

    /**
     * 获取班组名称班组编码
     * @return
     */
    List<GroupManagement> getGroupInfo(String lineCode);
}
